export function desensitization(str: string, begin: number, end: number): string {
    if (!str) {
        return "";
    }

    let lefStr = str.substring(0, begin)
    let rightStr = str.substring(str.length - end, str.length)
    let strCon = "";
    for (let i = 0; i < str.length - end - begin; i++) {
        strCon += "*";
    }
    return lefStr + strCon + rightStr;
}